TEC\Common\Abstracts\Custom_Table_Repository B

Total Complexity 90
Dependencies 8
Dependents 0
Total lines 1,050
Lines of code 395
Logical lines of code 220
Comment lines 518
Methods 51
Properties 11

Methods 51

Method Rating Maintainability Complexity Lines of code
add_relationships_as_schema_entries()
A
39 6 78
create()
S
50 7 28
get_all_generator()
S
52 7 23
filter()
S
57 5 17
add_columns_as_schema_entries()
S
54 4 24
save()
S
57 4 17
get_select_args()
S
57 4 16
delete()
S
64 3 10
found()
S
70 3 6
apply_schema_callbacks()
S
68 2 7
by_primary_key()
S
69 2 7
all()
S
71 2 6
last()
S
66 2 8
pluck()
S
66 2 8
__construct()
S
71 1 6
get_default_args()
S
82 1 3
set_default_args()
S
81 1 3
set_create_args()
S
81 1 3
get_create_args()
S
79 1 3
set_found_rows()
S
76 1 4
set()
S
76 1 4
set_args()
S
75 1 4
by_args()
S
73 1 5
by()
S
73 1 5
where()
S
79 1 3
page()
S
76 1 4
per_page()
S
76 1 4
offset()
S
79 1 3
order()
S
79 1 3
order_by()
S
75 1 4
fields()
S
76 1 4
in()
S
80 1 3
not_in()
S
80 1 3
parent()
S
80 1 3
parent_in()
S
80 1 3
parent_not_in()
S
80 1 3
search()
S
79 1 3
count()
S
75 1 4
first()
S
68 1 7
nth()
S
67 1 8
take()
S
69 1 7
sort()
S
80 1 3
collect()
S
80 1 3
get_ids()
S
75 1 4
add_update_field_alias()
S
80 1 3
get_update_fields_aliases()
S
82 1 3
set_update_fields_aliases()
S
81 1 3
get_schema()
S
82 1 3
add_schema_entry()
S
80 1 3
get_table_interface()
S
80 1 3
get_property_name()
S
80 1 3